SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 56151: The value of &SYSNOBS is incorrect after running PROC EXPORT

DetailsAboutRate It

The &SYSNOBS macro variable returns the number of observations read from the last data set that was closed by the previous procedure or DATA step. If a %PUT of &SYSNOBS is issued after running the EXPORT procedure, a value of 793 is returned. The value should be the number of observations in the SAS® data set that was written out to the external file when using PROC EXPORT. For example, the SASHELP.CLASS data set has 19 observations, so the value of &SYSNOBS should be 19 instead of 793 after the PROC EXPORT step completed.

There is currently no circumvention for this problem.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASSolaris for x649.4 TS1M09.4 TS1M3
Linux for x649.4 TS1M09.4 TS1M3
HP-UX IPF9.4 TS1M09.4 TS1M3
64-bit Enabled Solaris9.4 TS1M09.4 TS1M3
64-bit Enabled HP-UX9.4 TS1M09.4 TS1M3
64-bit Enabled AIX9.4 TS1M09.4 TS1M3
Windows 7 Professional x649.4 TS1M09.4 TS1M3
Windows 7 Enterprise x649.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 Std9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 R2 Std9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2008 for x649.4 TS1M09.4 TS1M3
Microsoft Windows Server 2008 R29.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Pro9.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Enterprise x649.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M09.4 TS1M3
Microsoft Windows 8 Pro x649.4 TS1M09.4 TS1M3
Microsoft Windows 8 Enterprise x649.4 TS1M09.4 TS1M3
Microsoft® Windows® for x649.4 TS1M09.4 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.